package com.tansun.easycare.rule.rulegroup.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 规则引用查询
 * @author xuconghui
 *
 */
public class RuleRefVO implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3141209733473061157L;
	private String ruleGroupName;//关联的规则集名称
	private List<String> entryNames=new ArrayList<String>();//关联条目名称列表
    private String rankRelationId;   //层级关系关联ID
    
	public String getRuleGroupName() {
		return ruleGroupName;
	}
	public void setRuleGroupName(String ruleGroupName) {
		this.ruleGroupName = ruleGroupName;
	}
	public List<String> getEntryNames() {
		return entryNames;
	}
	public void setEntryNames(List<String> entryNames) {
		this.entryNames = entryNames;
	}
	
	public void addEntryNames(String entryName) {
		if( !entryNames.contains(entryName) ) {
			entryNames.add(entryName);
		}
	}
	public String getRankRelationId() {
		return rankRelationId;
	}
	public void setRankRelationId(String rankRelationId) {
		this.rankRelationId = rankRelationId;
	}
	

}
